# -*- coding: utf-8 -*-
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <title>Authentification test</title>
    ${ h.stylesheet_link_tag( '/style1.css', '/style2.css') }
    ${ h.javascript_include_tag( 'jquery.js', 'jquery.debug.js') }
    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
</head>
<body>
	% if request.environ.get("REMOTE_USER"):
		You are curretly logged in as ${request.environ.get("REMOTE_USER")}.
		<a href=${h.url_for(controller='/private', action='signout')}> Log Out </a>
	% else:
		You are not logged in.
	% endif

	<h1> Authentification Tests </h1>
	
	<span> <a href=${h.url_for('home')}> Home </a> </span><br/>
	<span> <a href=${h.url_for('private')}> Private space </a> </span><br/>
	<span> <a href=${h.url_for('admin')}> Administration </a> </span><br/>
	
	<br/>
	
    ${ next.body() }
    
</body>
</html>